package com.dinglian.ots.redis;

/**
 * 用户/token映射
 */
public class TokenMapKey extends BasePrefix {

	public TokenMapKey(int expireSeconds, String prefix) {
		super(expireSeconds, prefix);
	}

	public static TokenMapKey withExpire(int expireSeconds) {
		return new TokenMapKey(expireSeconds, "userTokenMap");
	}

	public static TokenMapKey getKey = new TokenMapKey(EXPIRE_TIME_HOUR * 2, "userTokenMap");
}
